package com.upf1sh.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("sensorData")
public class SensorData {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("awareID")
    private String awareID;

    @TableField("valuesTemperature")
    private Float valuesTemperature;

    @TableField("valuesStep")
    private Integer valuesStep;

    @TableField("valuesWater")
    private Float valuesWater;

    @TableField("valuesFood")
    private Float valuesFood;

    @TableField("timestamp")
    private LocalDateTime timestamp;



}
